﻿///<reference path="jquery-1.4.4.min.js" >
///<reference path="kooboo.form.js" >

$(function () {
    $("form").submit(function () {
        $(this).ajaxPost({
            success: function (action) {
                window.location.href = action;
            }
        });
        return false;
    });

    $(".prev").click(function () {
        $("#next").val("prev");
    });

    $(".finish").click(function () {
        $("#next").val("finish");
    });
});